package modelimplementation

import "time"

type TimeCard struct {
	date time.Time
	hours   float64
}

func NewTimeCard(date time.Time, hours float64) *TimeCard {
	return &TimeCard{date: date, hours: hours}
}

func (tc *TimeCard) GetDate() time.Time {
	return tc.date
}

func (tc *TimeCard) GetHours() float64 {
	return tc.hours
}
